package com.zbkj.service.service.mszs;

import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.mszs.MszsYwRecordRequest;
import com.zbkj.common.response.mszs.MszsYwRecordResponse;

import java.util.List;

/**
 * @description 民宿助手-业务记录-service接口
 * @author JIANTAO
 * @date 2023-11-16
 */
public interface MszsYwRecordService {

    /**
     * 业务记录--新增
     * @param request
     * @return
     */
    boolean insert(MszsYwRecordRequest request);

    /**
     * 业务记录--删除
     * @param id
     * @return
     */
    boolean delete(Integer id);

    /**
     *根据主键 id 查询
     * @param id
     * @return
     */
    MszsYwRecordResponse load(Integer id);

    /**
     * 业务记录
     * @param title
     * @param pageParamRequest
     * @return
     */
    List<MszsYwRecordResponse> pageList(String title, PageParamRequest pageParamRequest);


}
